package com.iexbuy.ihg.entity;

import java.util.List;

/**
 * Created by chenguiban on 15/10/18.
 */
public class ShopListResponse extends Response {

    private Body body;

    public Body getBody() {
        return body;
    }

    public void setBody(Body body) {
        this.body = body;
    }

    public class Body {
        private int totalNum;
        private int pageSize;
        private boolean hasNext;
        private boolean hasPre;
        private List<Shop> data;

        public List<Shop> getData() {
            return data;
        }

        public void setData(List<Shop> data) {
            this.data = data;
        }

        public boolean isHasNext() {
            return hasNext;
        }

        public void setHasNext(boolean hasNext) {
            this.hasNext = hasNext;
        }

        public boolean isHasPre() {
            return hasPre;
        }

        public void setHasPre(boolean hasPre) {
            this.hasPre = hasPre;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalNum() {
            return totalNum;
        }

        public void setTotalNum(int totalNum) {
            this.totalNum = totalNum;
        }
    }

}
